package com.ibeetl.admin.api.dao;

import com.ibeetl.admin.api.entity.Travel_user;
import org.beetl.sql.core.page.PageRequest;
import org.beetl.sql.core.page.PageResult;
import org.beetl.sql.mapper.BaseMapper;
import org.beetl.sql.mapper.annotation.Root;
import org.beetl.sql.mapper.annotation.SqlResource;

import java.util.List;
import java.util.Map;

@SqlResource("api.travelUser")
public interface TravelUserDao extends BaseMapper<Travel_user> {

    Long queryUserIdByPhone(String phone);
    public PageResult<Travel_user> queryByCondition(PageRequest request, @Root Map params);
    public void batchDelTravelUserByIds( List<Long> ids);
}
